@echo off
cp c:\progra~1\flashdevelop\plugins\haxeProject.dll .
haxe install.hxml
rm -rf haxefd
mkdir haxefd
mkdir haxefd\install-src
cp -R run.n haxelib.xml src haxefd
cp -R Install.hx haxe_syntax.xml haxefd\install-src
rm -rf haxefd\src\.svn haxeProject.dll run.n haxefd.zip
7z a -tzip haxefd.zip haxefd
rm -rf haxefd
haxelib submit haxefd.zip
echo Done
pause
